Skip to content

simd op check: Do not include the scalar version and error checking code in the code that will be used to scan for the instruction.#9007

Merged
mcourteaux merged 1 commit intohalide:mainfrom
mcourteaux:fix-simd-op-check
Mar 15, 2026
Merged

Conversation

@mcourteaux
Copy link
Copy Markdown
Contributor

Sometimes, we get false positive test result when the scalar version or error checking code is generating the instruction we're after.

Found one such case on x86 (korw). I'll let the buildbots figure out if there is more instances.

@mcourteaux mcourteaux changed the title Do not include the scalar version and error checking code in the code that will be used to find the intrinsic. simd op check: Do not include the scalar version and error checking code in the code that will be used to find the intrinsic. Mar 11, 2026
@mcourteaux
Copy link
Copy Markdown
Contributor Author

@alexreinking the windows failure seems like a CI configuration issue?

@alexreinking
Copy link
Copy Markdown
Member

No, this is a random feature-detection failure. There's some x86 chip that we mis-detect. Too bad this workflow didn't print CPU details (but then there's no /proc/cpuinfo there)

@mcourteaux mcourteaux changed the title simd op check: Do not include the scalar version and error checking code in the code that will be used to find the intrinsic. simd op check: Do not include the scalar version and error checking code in the code that will be used to scan for the instruction. Mar 14, 2026
@mcourteaux mcourteaux merged commit 65abee4 into halide:main Mar 15, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants